package com.demo.webapp.kcfinder;

public final class KCFinderStatics {

	/**
	 * 基础Dispatcher
	 */
    public static final String SERVLET_DISPATCHER = "com.demo.webapp.kcinder.dispatcher.ServletDispatcher";
    
    /**
     * web.xml中配置映射文件名
     */
    public static final String SERVLET_CONFIGURATION_NAME = "kcfinderConfigLocation";
  
    /**
     * web.xml中配置属性文件名
     */
    public static final String SERVLET_PROPERTIES_NAME = "kcfinderPropertiesLocation";
    
    /**
     * ActionMapping名
     */
    public static final String SERVLET_REQUEST_ACTIONMAPPING = "com.demo.webapp.kcfinder.ActionMapping";
    
    /**
     * Request Key
     */
    public static final String HTTP_SERVLET_REQUEST = "com.demo.webapp.dispatcher.HttpServletRequest";
    
    /**
     * Response Key
     */
    public static final String HTTP_SERVLET_RESPONSE = "com.demo.webapp.dispatcher.HttpServletResponse";
    
    /**
     * ServletContext key
     */
    public static final String HTTP_SERVLET_CONTEXT  = "com.demo.webapp.dispatcher.ServletContext";
    
    /**
     * web.xml中对请求分解的配置名称
     * 多个Builder以","分割.
     * Builder提供创建各种ActionMapping
     */
    public static final String SERVLET_CONFIGURATION_BUILDER = "kcfinder.builderFactory";
    
    /**
     * 默认KCFinder的ActionMapping创建类名
     */
    public static final String DEFAULT_ACTIONMAPPING_BUILDER = "com.demo.webapp.kcfinder.KCFinderActionMappingBuilder";
    
    /**
     * KCFinder的开发模式名
     * true：开发模式
     */
    public static final String KCFINDER_KEY_DEV_MODEL = "kcfinder.devMode";
    
    /**
     * KCFinder的国际化资源文件名称
     * 多个以","分割
     */
    public static final String KCFINDER_KEY_I18N_RESOURCES = "kcfinder.custom.i18n.resources";
    
    /**
     * KCFinder的对象创建工厂
     */
    public static final String KCFINDER_KEY_OBJECT_FACTORY = "kcfinder.objectFactory";
    
    /**
     * KCFinder的Action扩展名
     * 多个以","分割 
     */
    public static final String KCFINDER_KEY_ACTION_EXTENSION = "kcfinder.action.extension";
    
    /**
     * 国际化编码
     */
    public static final String KCFINDER_KEY_CUSTOM_I18N_ENCODING = "kcfinder.i18n.encoding";
    
    /**
     * 公共文件路径Key
     */
    public static final String KCFINDER_KEY_PUBLIC_PATH = "kcfinder.public.path";
    
    /**
     * kcfinder允许访问的路径
     */
    public static final String KCFINDER_KEY_ALLOW_PATH = "kcfinder.allow.path";
    // ------------------------------------------------------------------------------------------------
	/**
	 * 缩略图的前缀
	 */
    @Deprecated
	public static final String THUMB_PREFIX = "______thumb_";
	
	/**
	 * 中图的前缀
	 */
    @Deprecated
	public static final String MEDIUM_PREFIX = "______medium_";
	
    // ------------------------------------------------------------------------------------------------
	/**
	 * 缩略图的路径
	 */
	public static final String THUMB_PATH = "/.thumbs";
	
	/**
	 * 中图的路径
	 */
	public static final String MEDIUM_PATH = "/.mediums";
}